package com.thesis.config.file;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
@Data
@Component
@ConfigurationProperties(prefix = "file")
@PropertySource(value = {"classpath:application.yaml"}, encoding = "utf-8")
public class FileProperties {
    /**
     * 图片存储位置
     */
    private String imgDir;

    /**
     * excel存储的位置
     */
    private String excelDir;

    /**
     * 其他文件存储的位置
     */
    private String otherDir;
}
